<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
<title>投票管理</title>
<link type="text/css" rel="stylesheet" href="main.css"/>
<script src="jquery.js" language="javascript" type="text/javascript"></script>
<script src="base.js" language="javascript" type="text/javascript"></script>

</head>
<body>
<div class="mtitle">
  <div class="lbox">投票管理</div>
</div>
<table class="tform">
  <tbody>
    <tr>
      <td align="left"></td>
      <td align="right"><strong><a href="vote_main.php"><u>管理以往投票内容记录</u></a></strong></td>
    </tr>
  </tbody>
</table>
<table _dlist="line" class="tlist">
<tr>
    <td height="200" bgcolor="#FFFFFF" valign="top">
	<form name="form1" method="post" action="vote_edit.php">
	<input type="hidden" name="dopost" value="saveedit">
	<input type="hidden" name="aid" value="<?php echo $aid?>">
	    <table width="100%" border="0" cellspacing="4" cellpadding="4">
          <tr> 
            <td width="15%" align="center">投票名称：</td>
            <td width="85%">
            	<input name="votename" type="text" id="votename" value="<?php echo $row['votename']?>" class='txt' style='width:200px' /> 
            </td>
          </tr>
          <tr>
            <td align="center">投票语言：</td>
            <td>
            	<input name="lang" type="text" id="lang" value="<?php echo $row['lang']?>" class='txt' style='width:200px' />
            </td>
          </tr>
          <tr>
            <td align="center">投票总人数：</td>
            <td>
            	<input name="totalcount" type="text" id="totalcount" value="<?php echo $row['totalcount']?>" class='txt' style='width:200px' />
            </td>
          </tr>
          <tr> 
            <td align="center">开始时间：</td>
            <td>
            	<input name="starttime" type="text" id="starttime" value="<?php echo GetDateMk($row['starttime'])?>" class='txt' style='width:200px' />
            </td>
          </tr>
          <tr> 
            <td align="center">结束时间：</td>
            <td>
            	<input name="endtime" type="text" id="endtime" value="<?php echo GetDateMk($row['endtime'])?>" class='txt' style='width:200px' />
            </td>
          </tr>
          <tr> 
            <td align="center">是否多选：</td>
            <td>
            	<input name="ismore" type="radio" class="np" value="0"<?php if($row['ismore']==0) echo " checked";?> />
              单选 　 
              <input type="radio" name="ismore" class="np" value="1"<?php if($row['ismore']==1) echo " checked";?> />
              多选
            </td>
          </tr>
          <tr> 
            <td align="center">投 票 项：<br/>
              (请按相同的形式来增加或修改节点，其中属性：id不能重复) </td>
            <td>
            	<textarea name="votenote" rows="8" id="votenote" style="width:80%" class='txt'><?php echo $row['votenote']?></textarea> 
            </td>
          </tr>
          <tr> 
            <td height="47">&nbsp;</td>
            <td>
             <button type="submit" class="btn1s">保存投票数据</button>
            </td>
          </tr>
          <tr> 
            <td colspan="2">&nbsp;</td>
          </tr>
        </table>
	  </form>
	  </td>
</tr>
</table>
</body>
</html>